//
//  LCTestController.swift
//  SinaWeiBo
//
//  Created by mac on 16/12/1.
//  Copyright © 2016年 heima. All rights reserved.
//

import UIKit

class LCTestController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        view.backgroundColor = UIColor.orange

        self.navigationItem.rightBarButtonItem = UIBarButtonItem(title: "push", target: self, action: #selector(pushAction))
        
    }
    
    func pushAction(){
        let pushVc = LCTestController()
        
        navigationController?.pushViewController(pushVc, animated: true)
        
    }



}
